/*
 * 7. Write a program that reads a name from the
 * console and prints "Hello, <name>!".
 */

public class SayHelloTo {
    public static void main (String[] args) {
	if (args.length != 1) {
	    System.err.println ("usage: SayHelloTo NAME");
	    System.exit (1);
	}

	System.out.println ("Hello, " + args[0] + "!");
    }
}
